package com.xinou.daily_report.VO.integral;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author lizhongyuan
 */
@Data
@ContentStyle(wrapped = true)
public class IntegralExcelVO {

    @ColumnWidth(10)
    @ExcelProperty(value = "部门")
    private String deptName;

    @ColumnWidth(10)
    @ExcelProperty(value = "用户姓名")
    private String userName;

    @ColumnWidth(10)
    @ExcelProperty(value = "操作人")
    private String addUserName;

    @ColumnWidth(30)
    @ExcelProperty(value = "原因")
    private String reason;

    @ColumnWidth(10)
    @ExcelProperty(value = "积分变化")
    private BigDecimal theIntegral;

    @ColumnWidth(10)
    @ExcelProperty(value = "类型")
    private String integralType;

    @ColumnWidth(20)
    @ExcelProperty(value = "发生时间")
    private String insertTime;
}
